package com.hydl.power.pojo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

@Api(value = "Navbar", description = "导航栏")
public class Navbar {

    public static final String TYPE_MENU = "0";
    public static final String TYPE_BUTTON = "1";

    private Integer id;
    @ApiModelProperty("导航栏id")
    private String navbarId;
    @ApiModelProperty("名称")
    private String navName;
    @ApiModelProperty("父id")
    private Integer pId;
    @ApiModelProperty("类型")
    private Integer type;
    @ApiModelProperty("区域名字")
    private String pName;

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNavbarId() {
        return navbarId;
    }

    public void setNavbarId(String navbarId) {
        this.navbarId = navbarId == null ? null : navbarId.trim();
    }

    public String getNavName() {
        return navName;
    }

    public void setNavName(String navName) {
        this.navName = navName == null ? null : navName.trim();
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}